package com.bf.electroplating.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bf.electroplating.pojo.dto.contingencyplan.ComContingencyPlanDTO;
import com.bf.electroplating.pojo.dto.contingencyplan.ComContingencyPlanQueryDTO;
import com.bf.electroplating.pojo.dto.pollution.PollutionPermitDTO;
import com.bf.electroplating.pojo.dto.pollution.PollutionPermitQueryDTO;
import com.bf.electroplating.pojo.entity.ComContingencyPlan;
import com.bf.electroplating.pojo.vo.ResultVO;
import com.bf.electroplating.pojo.vo.contingencyplan.ComContingencyPlanVO;
import com.bf.electroplating.pojo.vo.pollution.PollutionPermitVO;

import java.util.List;

/**
* @author 15451
* @description 针对表【com_contingency_plan(应急预案表)】的数据库操作Service
* @createDate 2025-05-09 11:11:32
*/
public interface ComContingencyPlanService extends IService<ComContingencyPlan> {

	/**
	 * 分页查询应急预案列表
	 *
	 * @param queryDTO 查询条件
	 * @return 分页结果
	 */
	ResultVO < Page < ComContingencyPlanVO > > pageList( ComContingencyPlanQueryDTO queryDTO);

	/**
	 * 新增、编辑应急预案
	 *
	 * @param dto 应急预案信息
	 * @return 操作结果
	 */
	ResultVO<String> saveData( ComContingencyPlanDTO dto);

	/**
	 * 删除应急预案
	 *
	 * @param ids ID列表
	 * @return 操作结果
	 */
	ResultVO<String> delete( List <String> ids);

	/**
	 * 获取应急预案详情
	 *
	 * @param id ID
	 * @return 应急预案详情
	 */
	ResultVO<ComContingencyPlanVO> getDetail(String id);
}
